package org.tarena.dang.util;


public class Constant {
  //提高可读性
  public static final int  NORMAL_LEVEL = 1;//普通
  public static final int  HIGHT_LEVEL = 2;//高级
  public static final int  VIP_LEVEL = 3;//VIP
  //处理结果
  public static final int  EXECUTE_OK = 0; //成功
  public static final int  EXECUTE_FAIL = 1; //失败
  
  //向Session存放的key,避免冲突
  public static final String USER_KEY = 
                "com.tarena.dang.user";
  public static final String CART_KEY = 
                "com.tarena.dang.cart";
  //购物车
  public static final String CART = "cart";
  //用户信息
  public static final String USER = "d_user";
  //订单状态
  //等待付款
  public static final int WAIT_PAY = 0;
  //等待发货
  public static final int WAIT_send = 1;
  //等待接收
  public static final int WAIT_RECEIVE = 2;
  //交易成功
  public static final int ORDER_OK = 3;
  //cookie
  public static final String HISTORY = "history";
  //排序
  //public static final  
  
}
